package com.shixulin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shixulin.domain.ResponseResult;
import com.shixulin.entity.DTO.QuestionQueryDTO;
import com.shixulin.entity.QuestionBank;
/**
 * (QuestionBank)表服务接口
 *
 * @author makejava
 * @since 2023-11-18 19:08:08
 */
public interface QuestionBankService extends IService<QuestionBank> {

    ResponseResult uploadQuestion(QuestionBank questionBank);

    ResponseResult getQuestionBankByPage(QuestionQueryDTO questionQueryDTO);

    ResponseResult getQuestionsById(int id);

    ResponseResult editQuestion(QuestionBank question);

    ResponseResult deleteQuestionById(int id);

    ResponseResult selectSubjectQuestion(int subjectId);
}

